package com.amigo.online.consumer.video.service;

import com.amigo.online.common.core.response.Result;
import com.amigo.online.common.param.dto.video.CheckVersionDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

import com.amigo.online.common.core.response.Response;

@FeignClient(name = "amigo-online-provider-user")
public interface UserService {
	
	@RequestMapping(value = "/user/updateLocation", method = RequestMethod.POST)
	public ResponseEntity<Response> updateLocation(@RequestParam("lng") String lng, @RequestParam("lat") String lat);

	@PostMapping("/checkVersion")
	public Result checkVersion(@RequestBody CheckVersionDto dto);
}
